import 'package:dmz/base/pageWidget/base_stateful_widget.dart';
import 'package:dmz/business/home/controller/shanre_details_controller.dart';
import 'package:dmz/business/home/widgets/shanre_details_widgets.dart';
import 'package:dmz/business/home/widgets/share_main_widgets.dart';
import 'package:flutter/cupertino.dart';
import 'package:get/get.dart';

class ShartDetailsPage extends BaseStatefulWidget<ShareDetailsController> {
  const ShartDetailsPage({super.key});

  @override
  bool showTitleBar() => true;

  @override
  String titleString() => '用车分享'.tr;

  @override
  Widget buildContent(BuildContext context) {
    return ShareMotoWidgets.backGroundWidget(Column(children: [
      ShareDetailsWidgets.toWidgets(controller.model, controller.phone),
      ShareDetailsWidgets.bottomWidget(
          controller.showSelectWindow, controller.didShareMoto)
    ]));
  }
}
